import request from './request'

export const getUserData = () => {
  return request({
    url: '/user/getdata',
    method: 'GET',
    headers: {
      token: localStorage.getItem('token') || ''
    }
  })
}
